Skip to content

Table: improve tile mode#2102

Merged
fschinkel merged 2 commits intoreleases/26.2from
features/fschinkel/26.2/configured-tiles
Apr 27, 2026
Merged

Table: improve tile mode#2102
fschinkel merged 2 commits intoreleases/26.2from
features/fschinkel/26.2/configured-tiles

Conversation

@fschinkel
Copy link
Copy Markdown
Member

@fschinkel fschinkel commented Mar 17, 2026

Table: improve tile mode

There may not always be a tile for a row. Therefore, implement Table.createTiles more lenient in order to avoid null pointer exceptions. In addition, the TableTileGridMediator ensures that null values are removed from its list of tiles.
The list of tiles of the TableTileGridMediator needs to be unique as the tiles will be rendered one after another. If there are duplicates in the list of tiles an 'Already rendered'-error will be thrown if the second occurrence is rendered. Therefore, the TableTileGridMediator removes all duplicates from its list of tiles.

379008


Align sort lookup call for table in tile mode

The Scout JS implementation of the sort lookup call for tables in tile mode uses lookup row icons to indicate whether a selected entry sorts ascending or descending while the Scout Classic implementation has added these icons to its text. Align these two implementations and use the style from Scout JS as it looks cleaner.

379008

@fschinkel fschinkel requested a review from cguglielmo March 17, 2026 15:53
@fschinkel fschinkel self-assigned this Mar 17, 2026
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from 411586d to c572753 Compare March 18, 2026 10:36
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from f59e969 to 4d1fb9b Compare March 18, 2026 10:38
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from c572753 to a8d6765 Compare March 23, 2026 05:45
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from 4d1fb9b to cd9afd0 Compare March 23, 2026 05:49
Copy link
Copy Markdown
Member

@cguglielmo cguglielmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a typo in the commit message:

ensures that null values are removed from its list of tiles.

Comment thread eclipse-scout-core/src/table/TableTileGridMediator.ts Outdated
Comment thread eclipse-scout-core/src/table/TableTileGridMediator.ts Outdated
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch 2 times, most recently from a2d21ed to c27b01c Compare April 13, 2026 14:09
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from cd9afd0 to a74a3d8 Compare April 13, 2026 14:13
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from c27b01c to 99847cc Compare April 13, 2026 15:06
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch 2 times, most recently from 5b3cdf8 to ab26bfb Compare April 14, 2026 10:00
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from 1e9ab18 to b040482 Compare April 16, 2026 09:32
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from e026624 to 5195f7c Compare April 16, 2026 11:09
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch 2 times, most recently from 05be66b to 0b202d8 Compare April 16, 2026 11:24
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch 3 times, most recently from bf0981c to db901d7 Compare April 20, 2026 06:28
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from 0b202d8 to 8aadf6d Compare April 20, 2026 06:32
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch 3 times, most recently from b09b277 to 3e6ab40 Compare April 20, 2026 12:51
@fschinkel fschinkel requested a review from cguglielmo April 20, 2026 13:26
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from 8aadf6d to d4dc5d4 Compare April 23, 2026 12:14
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from 3e6ab40 to d2445b1 Compare April 23, 2026 12:17
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from d4dc5d4 to dbc4991 Compare April 24, 2026 13:08
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch 2 times, most recently from b42ef9c to f2c9dde Compare April 27, 2026 07:02
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/hybrid-manager-dispose-widgets branch from 64172b2 to 7c86766 Compare April 27, 2026 08:17
Base automatically changed from features/fschinkel/26.2/hybrid-manager-dispose-widgets to releases/26.2 April 27, 2026 08:44
There may not always be a tile for a row. Therefore, implement
Table.createTiles more lenient in order to avoid null pointer
exceptions. In addition, the TableTileGridMediator ensures that null
values are removed from its list of tiles.
The list of tiles of the TableTileGridMediator needs to be unique as the
tiles will be rendered one after another. If there are duplicates in the
list of tiles an 'Already rendered'-error will be thrown if the second
occurrence is rendered. Therefore, the TableTileGridMediator removes all
duplicates from its list of tiles.

379008
The Scout JS implementation of the sort lookup call for tables in tile
mode uses lookup row icons to indicate whether a selected entry sorts
ascending or descending while the Scout Classic implementation has added
these icons to its text. Align these two implementations and use the
style from Scout JS as it looks cleaner.

379008
@fschinkel fschinkel force-pushed the features/fschinkel/26.2/configured-tiles branch from f2c9dde to 097f6e1 Compare April 27, 2026 08:50
@fschinkel fschinkel merged commit 488ae3c into releases/26.2 Apr 27, 2026
4 checks passed
@fschinkel fschinkel deleted the features/fschinkel/26.2/configured-tiles branch April 27, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants